@import "css/reset.css"; /* Imports the reset.css */

@font-face {
	font-family: 'ChunkFive Regular';
	src: url('fonts/Chunkfive.eot');
	src: local('ChunkFive Regular'), local('ChunkFive'), url('fonts/Chunkfive.woff') format('woff'), url('fonts/Chunkfive.svg#ChunkFive') format('svg'), url('fonts/Chunkfive.otf') format('opentype');
}

body { 
	background: #eee url(images/bg.png) repeat;
	color: #333333;
	font: 14px/24px Georgia, 'Times New Roman', Times, serif;
}

/* hide godaddy ads*/
#conash3D0 {display:none}

/* HTML5 */

article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
time { display: inline; }

/* Typography and default stuff */

a { color: #0066CC; text-decoration: none; }

a:hover, #menu li.current a {
	background: #0066CC;
	color: #fff;
	text-decoration: none;
	text-shadow: #0066CC 1px 1px 1px;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 36px; letter-spacing: -1px; }
h4 { font-size: 23px; }
h5 { font-size: 19px; }
h6 { font-size: 16px; }

#header h1, .post h2, h3 { font-family: 'Microsoft YaHei', 'ChunkFive Regular', Georgia, 'Times New Roman', Times, serif; }

hr { border: 0 solid #ccc; border-top-width: 1px; clear: both; height: 0; }
ol { list-style: decimal; }
ul { list-style: disc; }
li { margin-left: 30px; }

pre {
	background:
		url(images/white.png) repeat-x left top,
		url(images/white.png) repeat-y left right
	;
	background-color: #cecdcd;
	border: 2px solid #0066CC;
	font-size: 12px;
	padding: 10px;
	overflow:scroll;
}

pre code { background: none; }
code { background: #cfcfcf; font-size: 12px; }

blockquote {
	background: url(images/quote.png) no-repeat 5px top; /* Browsers who not support multiple backgronds will only get this */
	background:
		url(images/quote.png) no-repeat 5px top, 
		url(images/white.png) repeat-x left bottom,
		url(images/white.png) repeat-y left top
	;
	border-left: 4px solid #0066CC;
	border-bottom: 1px solid #0066CC;
	color: #424242;
	font-style: italic;
	padding: 15px 0 10px 10px;
	margin-left: 15px;
	text-indent: 10px;
}

blockquote p { margin: 0; }

p, dl, hr, h1, h2, h3, h4, h5, h6, ol, ul, pre, table, address, fieldset, .widget, blockquote { margin-bottom: 20px; }

/* Header */

#header { height: 85px; width:600px;}

#header h1 a{
	color: #1e1e1e;
	font-size: 68px;
	font-weight: bold;
	float: left;
	margin-top: 30px;
	padding: 20px 2px;
	letter-spacing: -1px;
	text-shadow: 0 1px 0 #fff;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	transition: all 0.15s linear;
}

#header h1 a:hover {
	background: none;
	text-decoration: none; 
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
}

#logindisplay
{
	display: block;
	float: right;
	margin-top:10px;
}

#logindisplay a:link
{
	text-decoration: none;
}

#logindisplay a:hover
{
	color: White;
	text-decoration: none;
}

/* Content */
#content { 
	background: url(images/content_bg.png) repeat;
	border: 1px solid #ccc;
	border-left: none; border-right: none;
	float: left;
	width: 940px;
	padding: 20px 10px 0 10px;
}

#main
{
	margin-top: 10px;
}

/* Nav */

#menu {
	border-bottom: 1px solid #cacaca;
	list-style: none;
}

#menu li {
	float: left;
	margin: 0 15px 0 0;
	padding-bottom: 5px;
	position: relative;
}

#menu li a {
	display: block;
	font-size: 16px;
	padding: 8px 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

	/* Level 2 */
	
	#menu ul {
		background: #cacaca;
		background: rgba(202,202,202,0.95);
		display: none;
		padding: 10px;
		list-style: none;
		position: absolute;
		left: 0; top: 100%;
		z-index: 100;
		text-shadow: 1px 1px 0 #eae7e7;
		
		-webkit-box-shadow: 2px 3px 3px #4d4b4b;
		-moz-box-shadow: 2px 3px 3px #4d4b4b;
		box-shadow: 2px 3px 3px #4d4b4b;
		
		-webkit-border-bottom-right-radius: 5px;
		-moz-border-radius-bottomright: 5px;
		border-bottom-right-radius: 5px;
	}
	
	#menu li:hover > ul { display: block;  }
	
	#menu ul li {
		float: none;
		min-width: 150px;
	}
	
	
/* Post */

.post { 
	min-height: 30px;
	margin-bottom: 60px;
	position: relative;
}

.post p { padding-right: 20px; }

.post img.thumbnail + p { margin-top: 25px; } /* First p after the thumbnail */

.post h2, .post h2 a {
	color: #333;
	display: block;
	font-size: 54px;
	font-weight: bold;
	margin-left: 10px;
	letter-spacing: -1px;
	-webkit-transition: opacity 0.15s linear;
	-moz-transition: opacity 0.15s linear;
	transition: opacity 0.15s linear;
}

.post h2 a:hover { 
	background: none; 
	opacity: 0.7; 
	text-decoration: none;
	text-shadow: none;
}

.post h3
{
	line-height:1;
}
.post h3 a:hover
{
	line-height:1;
}

/* Post meta */
.postmeta
{
	margin: 10px 30px 15px 0;
	overflow: hidden;
	text-shadow: 1px 1px 1px #0066CC;
}
.postmeta a {}


/* Sidebar */

.widget { overflow: hidden; padding-top: 5px; }

.widget li { line-height: 28px; }

.widget li a { 
	color: #333;
	padding: 4px 5px; 
	
	-webkit-transition: margin-left 0.3s linear;
	-moz-transition: margin-left 0.3s linear;
	transition: margin-left 0.3s linear;
}

.widget li a:hover {
	color: #fff;
	margin-left: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* Footer */

#footer { 
	margin: 20px 0 30px 20px;
	text-shadow: 1px 0 1px #fff;
}

#footer a {
	color: #111;
	font-size: 16px;
	padding: 2px 3px;
	text-shadow: 1px 0 1px #fff;
}

#footer a:hover { color: #fff; text-shadow: none; }

#footer p { margin: 0; }

/* Form */

input, textarea, label { font: 16px Georgia, "Times New Roman", Times, serif; }

input[type=text], textarea {
	background:
		url(images/white.png) repeat-x left top,
		url(images/white.png) repeat-y left right
	;
	background-color: #cecdcd;
	background-color: rgba(206,205,205,0.6);
	border: 2px solid #0066CC;
	padding: 6px 5px;
}

textarea { overflow: auto; }

input[type=text]:hover, input[type=text]:focus, textarea:hover, textarea:focus {
	background-color: #cecdcd;
	background-color: rgba(206,205,205,0.8);
	border: 2px solid #e02a72;
	text-shadow: 1px 1px 0 #eae7e7;
}

form input[type=submit] {
	border: none;
	cursor: pointer;
	padding: 12px 0;
}

#contactform { margin-top: 30px; overflow: hidden; }
#contactform p { overflow: hidden; }
#contactform label { float: left; padding-top: 10px; }


.success {
	background: #e7f7d3 url(images/accepted.png) no-repeat 10px center;
	background: rgba(231,247,211,0.4) url(images/accepted.png) no-repeat 10px center;
	border: 1px solid #6c3;
	padding: 20px 0 20px 80px;
}

.error {
	background: #ffebe8 url(images/cancel.png) no-repeat 10px center;
	background: rgba(255,235,232,0.4) url(images/cancel.png) no-repeat 10px center;
	border: 1px solid #C00;
	color: #C00;
	line-height: 30px;
	padding: 10px 0 10px 80px;
}

/* Misc */


.alignleft { float: left; }
.alignright { float: right; }

.btn, a.more-link, input[type=submit]  {
	background: #0066CC;
	color: #fff;
	padding: 5px 16px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; 
}

.btn:hover, a.more-link:hover, input[type=submit]:hover { background: #0066CC;  }

img.alignleft, img.alignright { 
	background: #f2f2f2;
	border: 2px solid #cecdcd;
	padding: 5px;
	-webkit-transition: border 0.2s linear;
	-moz-transition: border 0.2s linear;
	transition: border 0.2s linear;
}

img.alignleft { margin-right: 15px; }
img.alignright { margin-left: 15px; }

img.thumbnail { margin-left: -50px; }
img.thumbnail:hover { border: 2px solid #0066CC; }

.hide { display: none; }

/* Comments */
.commentContent
{
	word-wrap:break-word;
}
#comments
{
	margin-left:30px;
}

.commentParent
{
	margin: 5px;
	border: 1px solid #CCCCCC;
	padding:8px;
}
.commentChild
{
	border: 1px solid #CCCCCC;
	margin-left: 40px;
	margin-right: 5px;
	margin-bottom: 5px;
	padding:8px;
}
.oddComment
{
	background-color: #F8F8F8;
}
.evenComment
{
	background-color: #EBF5FF;
}
.replyCommentFieldset
{
	margin-left: 20px;
	margin-right: 20px;
}

/* pagination */
#paging
{
	padding-bottom: 20px;
}

#pagination li
{
	margin: 0;
	padding: 0;
	font-size: 11px;
	list-style: none;
	display:inline;
}
#pagination a
{
	margin: 2px;
	border-style: solid;
	border-width: 1px;
}
#pagination .previous-off, #pagination .next-off
{
	border: solid 1px #DEDEDE color:#888888 display:block;
	float: left;
	font-weight: bold;
	margin-right: 2px;
	padding: 3px 4px;
}
#pagination .active
{
	padding: 4px 6px 4px 6px;
	background-position: #2e6ab1;
	background: #2e6ab1;
	color: #FFFFFF;
	margin: 2px;
	float: left;
}
#pagination a:link, #pagination a:visited
{
	color: #0e509e;
	display: block;
	float: left;
	padding: 3px 6px;
	text-decoration: none;
}
#pagination .morePages
{
	font-size: 11px;
}
#pagination a:hover
{
	border: solid 1px #0e509e;
	color: #FFFFFF;
}

.rss
{
	background:url(../../images/rss.png) no-repeat left top transparent;
	height:50px;	
	margin:-65px 60px 0 0;
	float:right;
}
.rss a
{
    margin:10px 0 0 60px;
    float:left;
}


/* Thumbnail rotation - Uncomment to use */

/*
img.thumbnail {
	-webkit-transform: rotate(1deg); 
	-moz-transform: rotate(1deg); 
	transform: rotate(1deg); 
}
.post:nth-child(odd) img.thumbnail{
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	transform: rotate(-1deg);
 }
*/